//
//  MerchantGoodsTableViewCell.m
//  RainbowFM
//
//  Created by Kratos on 14/12/18.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import "MerchantGoodsTableViewCell.h"

#import "GoodsCatalogModel.h"

@implementation MerchantGoodsTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)updateDataWithItem:(GoodsInfoItem *)item;
{
    [_headImageView sd_setImageWithURL:[NSURL URLWithString:item.PRODUCT_IMG_URL]];
    [_nameLabel setText:item.PRODUCT_NAME];
    [_infoLabel setText:_RMB(item.PRICE)];
}

@end
